package smm.main;

import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;


public class SimpleMysqlMapper implements ApplicationContextAware {
    private ApplicationContext applicationContext;
    private String packageName;

    public SimpleMysqlMapper(String packageName) {
        this.packageName = packageName;

    }

    @Override
    public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
        this.applicationContext = applicationContext;
    }

    private void output(String arg) {
        System.out.println(arg + ":SimpleMysqlMapper:" + packageName);
    }
}
